package com.coin900.coin.service.sop;



import com.coin900.coin.persist.sop.SopMenuVO;
import com.coin900.coin.persist.sop.SopRoleMenuVO;

import java.util.List;
import java.util.Map;

/**
 * @author shui
 * @create 2018-01-05
 **/
public interface ISopRoleMenuService{

    List<SopRoleMenuVO> loadSopRoleMenu(Map<String, Object> params);

    /**
     * 新增
     *
     * @param sopRoleMenuVO
     */
    void insertSopRoleMenu(SopRoleMenuVO sopRoleMenuVO);

    /**
     * 批量新增
     *
     * @param roleId
     * @param sopMenuList
     */
    void insertSopRoleMenuBatch(Long roleId, List<SopMenuVO> sopMenuList);

    void updateSopRoleMenu(SopRoleMenuVO sopRoleMenuVO);

    void deleteSopRoleMenu(SopRoleMenuVO sopRoleMenuVO);

}